package com.zhxt.fquery.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author ml
 * @create 2017-07-21--11:35
 */
@Entity
@Table(name = "building",schema = "pubr")
public class Building implements Serializable {

    @Id
    @Column(name = "buildid")
    private Long buildid;

    @Column(name = "floors")
    private Integer floorcount;

    public Long getBuildid() {
        return buildid;
    }

    public void setBuildid(Long buildid) {
        this.buildid = buildid;
    }

    public Integer getFloorcount() {
        return floorcount;
    }

    public void setFloorcount(Integer floorcount) {
        this.floorcount = floorcount;
    }
}
